diff -Naur opencomal-0.2.6/src/pdclinux.c opencomal-0.2.6.patched/src/pdclinux.c
--- opencomal-0.2.6/src/pdclinux.c	2002-11-30 03:40:20.000000000 -0500
+++ opencomal-0.2.6.patched/src/pdclinux.c	2017-12-10 17:48:17.357208824 -0500
@@ -486,7 +486,7 @@
 
 PUBLIC void sys_mkdir(char *dir)
 {
-	if (!mkdir(dir,0777)<0)
+	if (mkdir(dir,0777)<0)
 		run_error(DIR_ERR,strerror(errno));
 } 
 
